﻿using MediatR;
using PublicClass.BreedingEnum;
using System.ComponentModel.DataAnnotations;

namespace S.Breeding.Api.Application.Command.SheepWeighCommand
{
    public class SheepWeighCreateCommand:IRequest<int>
    {
        /// <summary>
        /// 主键自增
        /// </summary>
        public int SwID { get; set; }
        /// <summary>
        /// 测定日期
        /// </summary>
        public DateTime? WeighDate { get; set; }
        /// <summary>
        /// 羊只耳号
        /// </summary>
        public string? Earbugles { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public int? Breed { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public Sex? Sex { get; set; }
        /// <summary>
        /// 称重月龄
        /// </summary>
        public int? WeighMonth { get; set; }
        /// <summary>
        /// 称重类型
        /// </summary>
        public WeightType? WeightType { get; set; }
        /// <summary>
        /// 重量(公斤)
        /// </summary>
        public decimal? WeightKg { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? UpdateDate { get; set; }

        /// <summary>
        /// 逻辑删除字段
        /// </summary>
        public bool IsDel { get; set; }
    }
}
